-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[🔥AUDIT🔥] Storybook: Add remark-gfm plugin to add GFM MDX support #2451
Conversation
|
GeraldRequired Reviewers
Don't want to be involved in this pull request? Comment |
npm Snapshot: NOT Published🤕 Oh noes!! We couldn't find any changesets in this PR (2becff0). As a result, we did not publish an npm snapshot for you. |
Size Change: 0 B Total Size: 98.2 kB ℹ️ View Unchanged
|
A new build was pushed to Chromatic! 🚀https://5e1bf4b385e3fb0020b7073c-rscxtgmwsv.chromatic.com/ Chromatic results:
|
Here is how it looks like in the PR Storybook site: https://5e1bf4b385e3fb0020b7073c-rscxtgmwsv.chromatic.com/?path=/docs/packages-clickable-clickable-accessibility--docs |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2451 +/- ##
============================
============================
Continue to review full report in Codecov by Sentry.
|
🖍 This is an audit! 🖍
Summary:
After the Storybook v8 upgrade, we lost the ability to use GFM in MDX files.
This PR adds the
remark-gfm
plugin to the MDX loader to re-enable GFM support.For more context, GFM (GitHub Flavored Markdown) is a superset of the original
Markdown specification that adds additional features like tables, task lists,
and strikethrough text.
https://storybook.js.org/docs/writing-docs/mdx#markdown-tables-arent-rendering-correctly
Issue: WB-XXXX
Test plan:
Navigate to any docs page that renders markdown tables and verify that they are
rendered correctly.
/?path=/docs/packages-clickable-clickable-accessibility--docs
BEFORE | AFTER